package com.qf.mapper;

import com.qf.pojo.Passenger;

import java.util.List;
import java.util.Map;

public interface PassengerMapper {
    List<Passenger> queryAll();
    //姓名包含 老字，年龄大于18岁

    List<Passenger> queryByCondition(Map<String,Object> map);
    int update(Passenger passenger);
    int deleteByIds(List<Integer> ids);
}
